package com.ruowei.modules.foodOrder.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class MerchantDTO {
    @ApiModelProperty(value = "照片")
    private String photo;

    @ApiModelProperty(value = "商家编码")
    private String merchantCode;

    @ApiModelProperty(value = "商家名称")
    private String merchantName;

    @ApiModelProperty(value = "商家描述")
    private String description;

    @ApiModelProperty(value = "起送费")
    private BigDecimal startingPrice;

    @ApiModelProperty(value = "商家状态")
    private String status;

    @ApiModelProperty(value = "月销量")
    private Long monthlySale;

    public MerchantDTO(String photo, String merchantCode, String merchantName, String description,
                       BigDecimal startingPrice, String status, Long monthlySale) {
        this.photo = photo;
        this.merchantCode = merchantCode;
        this.merchantName = merchantName;
        this.description = description;
        this.startingPrice = startingPrice;
        this.status = status;
        this.monthlySale = monthlySale;
    }
}
